﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Net;
using HigLabo.Net;

namespace HigLabo.WindowsAzure.RestService.ServiceManagement
{
    public class GetStorageAccountPropertiesCommand : ManagementServiceCommand<GetStorageAccountPropertiesResult>
    {
        /// <summary>
        /// 対象サービス名
        /// </summary>
        public String ServiceName { get; private set; }

        public GetStorageAccountPropertiesCommand(String serviceName)
        {
            if (String.IsNullOrEmpty(serviceName))
            {
                throw new ArgumentException("serviceName must not be null", "serviceName");
            }
            this.ServiceName = serviceName;
        }

        public override string GetRequestUri()
        {
            return String.Format("services/storageservices/{0}", this.ServiceName);
        }
        public override HttpMethodName MethodName
        {
            get { return HttpMethodName.Get; }
        }
        public override Dictionary<String, String> GetRequestHeaders()
        {
            return null;
        }
        public override System.IO.Stream GetRequestBodyStream()
        {
            return null;
        }
    }
}
